import request from '@/utils/request'

//用户登录
export function login(data) {
  return request({
    url: '/web/api/v1/login',
    method: 'post',
    data
  })
}

export function register(data) {
  return request({
    url: '/web/api/user/register',
    method: 'post',
    data
  })
}

export function change(data) {
  return request({
    url: 'web/api/admin/change/user/info',
    method: 'post',
    data
  })
}

export function getInfo(token) {

}

export function logout() {

}